Definition

The correlation coefficient is defined as

ρXY=CXYσXσY\rho_{XY} = \frac{C_{XY}}{\sigma_X \sigma_Y}

where CXYC_{XY} is the covariance of XX and YY and σX\sigma_X, σY\sigma_Y are the standard deviations of XX and YY respectively (whereas σX2\sigma_X^2, σY2\sigma_Y^2 would be the variances).


References

  1. https://en.wikipedia.org/wiki/Pearson_correlation_coefficient